package cn.shengongying.dao;

import cn.shengongying.model.UserPositionApplyRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户申请职位记录 Mapper 接口
 * </p>
 *
 * @author RXK
 * @since 2022-01-10
 */
@Repository
public interface UserPositionApplyRecordMapper extends BaseMapper<UserPositionApplyRecord> {

    List<UserPositionApplyRecord> findByBossIdAndPositionId(@Param("userId") Long userId, @Param("positionId") Long positionId, @Param("type") Integer type);
}
